﻿using MediatR;
using W.Common.Enum;
using W.Warehouse.Domain;

namespace W.Warehouse.Api.Application.Command.CheckCommand
{
    public class CheckCreateCommand: IRequest<int>
    {
        public int CheckId { get; set; }
        /// <summary>
        /// 盘点单号
        /// </summary>
        public string? CheckNo { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public string? AssociateNumber { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? CheckMakeHe { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? CheckDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? CheckNotes { get; set; }
        /// <summary>
        /// 产品信息外键
        /// </summary>
        public int? ProductId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public AuditStatus? AuditStatus { get; set; }
        /// <summary>
        /// 盘点类型
        /// </summary>
        public string? CheckType { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int? user_id { get; set; }
        /// <summary>
        /// 审核原因
        /// </summary>
        public string? ExamineReason { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string? ExaminePeople { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? ExamineTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        public List<Statistics> StatisticsList { get; set; } = new List<Statistics>();

    }
}
